package com.gzhryc.shared_device.oem.code.config;

public enum EConfigType {

    BusinessConfig(1, "业务配置"), CashWithdrawal(2, "提现配置"), MemberCashWithdrawal(3, "会员提现配置")
    ,CDCZCostConfig(10, "充电插座价格配置")
    ,CDBCostConfig(11, "共享充电宝价格配置")
    ,BXSCNShopCostConfig(12, "便携式储能电池门店价格配置")
    ,BXSCNCostConfig(13, "便携式储能电池价格配置")

    ,OutsideZNSTConfig(41,"外部中能思拓接口配置");

    private Integer index;
    private String note;

    EConfigType(Integer index, String note) {
        this.index = index;
        this.note = note;
    }

    public Integer index() {
        return index;
    }

    public String note() {
        return note;
    }

    public static String note(Integer index) {
        EConfigType[] temp = EConfigType.values();
        for (int i = 0; i < temp.length; i++) {
            EConfigType item = temp[i];
            if (item.index.equals(index)) {
                return item.note;
            }
        }
        return null;
    }
}
